package com.robusta.cityuate.adapters;

import android.content.Context;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentActivity;
import android.support.v4.app.FragmentPagerAdapter;

public class SpotsPagesAdapter extends FragmentPagerAdapter {

	@SuppressWarnings("unused")
	private Context mContext;
	private Fragment[] mfragments;

	public SpotsPagesAdapter(FragmentActivity activity,Fragment [] fragments) {
		super(activity.getSupportFragmentManager());
		mContext = activity;
		mfragments=fragments;	
	}

	@Override
	public Fragment getItem(int position) {
		return mfragments[position];
	}

	@Override
	public int getCount() {
		return mfragments.length;
	}

	

	

}
